<?php

namespace Dao\Cache;

/**
 * 用户UID
 * $key = $key
 * @method setImInfo($key, $info)
 * @method getImInfo($key)
 * @method delImInfo($key)
 **/

class Netease extends \Base\Dao\Cache{


    protected $pool_type = 'redis';
    protected $pool_name = 'common';
    const TTL = 2592000;  //缓存时间一个月

    const KEY_IM_INFO = "IM_INFO";

    public function __construct() {
        $this->setConfig("ImInfo", self::KEY_IM_INFO, self::TTL);
    }

}